package com.ly.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("promotion_ad")
public class PromotionAd implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private long spaceId;
    private String keyword;
    private String htmlContent;
    private String text;
    private String link;
    private Date startTime;
    private Date endTime;
    private Date createTime;
    private Date updateTime;
    private Integer status;
    private Integer priority;
    private String img;


}
